/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author 18263016
 */
package temporizador;

import java.util.Observable;
import java.io.Serializable;
import javax.swing.JLabel;
import java.util.Observer;

public class LabelTemporizador extends JLabel implements Observer,Serializable{

    
    public LabelTemporizador(){
        super("00:00:00");
    }
    
    
    public void update(Observable o, Object arg) {
        if (o instanceof Temporizador){
            setText((String)arg);
           
        }
    }

}
